[#Line: DSP VchDetail]  
 Options : Stop_Locked_eInvoice:@@Op_Locked_eInvoice
[!Line:Stop_Locked_eInvoice]
 Delete:Keys: Delete Line Object, Cancel Line Object
[!Key: Op_Locked_eInvoiceCancelDelete] 
 Inactive: Yes 
[#Key:Form Cancel]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[#Key: BottomToolBarBtn4]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[#Key: BottomToolBarBtn4_Cancel]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[#Key: BottomToolBarBtn3_Delete]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[#Key: BottomToolBarBtn3]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[#Key: Form Delete]
 Option: Op_Locked_eInvoiceCancelDelete:@@Op_Locked_eInvoice 
[!Collection:Op_Locked_eInvoiceCancelDelete]
 Fetch:IRN
[#Collection:Day Book Vouchers of Company]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Collection : Vouchers of Company]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Collection : Modified Vouchers of Company]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Collection : Specific Vouchers of Company]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Collection : Filtered Vouchers of Company]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Collection: Vouchers of Ledger]
 Add: Option:Op_Locked_eInvoiceCancelDelete : Yes
[#Form:Voucher]
 Control : Locked_eInvoice_ControlMsg : @@Op_Locked_eInvoice
[System:Formulas]
Locked_eInvoice_ControlMsg : "You can not Alter / Delete / Cancel \n\n e-Invoice Voucher...!!" 
Op_Locked_eInvoice : NOT $$IsEmpty:@@GSTeInvIRN ;AND NOT $$IsCmpOwner